ga.view.appstate.menu
Class MenuState.MenuMouseListener

java.lang.Object
  extended by ga.view.interfaces.MouseListener
      extended by ga.view.appstate.menu.MenuState.MenuMouseListener
All Implemented Interfaces:
com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener
Enclosing class:
MenuState

private class MenuState.MenuMouseListener
extends MouseListener

Mouse listener that handles clicks on the menu elements.

Since:
12.08.2012
Author:
Stephan Dreyer

Constructor Summary
private MenuState.MenuMouseListener()
           
 
Method Summary
 void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
          Callback method for mouse events.
 
Methods inherited from class ga.view.interfaces.MouseListener
isEnabled, onAction, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuState.MenuMouseListener

private MenuState.MenuMouseListener()
Method Detail

onAction

public void onAction(java.lang.String name,
                     boolean keyPressed,
                     boolean isDoubleClick,
                     float tpf)
Description copied from class: MouseListener
Callback method for mouse events. Subclasses must implement this to add custom code.

Specified by:
onAction in class MouseListener
Parameters:
name - Name of the action.
keyPressed - true if the key is still pressed.
isDoubleClick - true if it is a double click.
tpf - The time per frame.